{% extends "sitenews/base.html" %}

{% block title %}{{ sitenews.title }} - お知らせ - {{ current_site.name }}{% endblock %}

{% block content %}
    <p class="p_person">
    <a href="{% url sitenews-showlist %}">&laquo; お知らせ一覧</a>
    </p>
    
    <div class="div_alpha14">
    <h2 class="h2_alpha02">{{ sitenews.published_at|date:"n月j日" }} - {{ sitenews.title }}</h2>
    <div class="div_alpha14_inner">
    
    {% if sitenews.image %}
        <p class="p01"><img src="{{ sitenews.image.url }}" /></p>
    {% endif %}
    
    <p class="p02">{{ sitenews.text|linebreaksbr }}</p>
    
    {% if sitenews.url %}
        <p class="p02"><a href="{{ sitenews.url }}">{{ sitenews.url }}</a></p>
    {% endif %}
    
    </div>
    </div>
    
{% endblock %}